package org.evan.spring6.jdbc;

import org.junit.jupiter.api.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestAnno {
    @Test
    public void testJdbcTemplate() {
        ApplicationContext context = new AnnotationConfigApplicationContext(SpringConfig.class);
        Emp bean = context.getBean(Emp.class);
        bean.getSex();

    }
}
